package cate.game.role.res.worldtree.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdBWorldTree;
import cate.game.role.bag.hero.Hero;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "移除英雄共享 の 返回")
public class HeroShareDelResp implements MsgOutput {
    @NoteField(value = "共享英雄的位置")
    public int pos;

    @NoteField(value = "英雄ID")
    public String heroUid;

    @NoteField(value = "英雄")
    public Hero hero;

    public HeroShareDelResp(){}

    public HeroShareDelResp(int pos, String heroUid, Hero hero) {
        this.pos = pos;
        this.heroUid = heroUid;
        this.hero = hero;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdBWorldTree.DEL_SHARE_RESP;
    }
}
